type github.com/gotd/td/telegram/downloader.reader
15 uses
github.com/gotd/td/telegram/downloader (current package)
builder.go#L222: func (b *Builder) reader() *reader {
builder.go#L223: var r *reader
parallel.go#L17: ctx context.Context, r *reader, s sink,
reader.go#L31: type reader struct {
reader.go#L47: func verifiedReader(sch schema, verifier *verifier) *reader {
reader.go#L48: return &reader{
reader.go#L54: func plainReader(sch schema, partSize int) *reader {
reader.go#L55: return &reader{
reader.go#L61: func (r *reader) Next(ctx context.Context) (block, error) {
reader.go#L69: func (r *reader) nextHashed(ctx context.Context) (block, error) {
reader.go#L110: func (r *reader) nextPlain(ctx context.Context) (block, error) {
reader.go#L124: func (r *reader) next(ctx context.Context, offset int64, limit int) (block, error) {
reader.go#L150: func (r *reader) chunk(ctx context.Context, offset int64, limit int) (chunk, error) {
reader.go#L168: func (r *reader) request(ctx context.Context, offset int64, limit int) (chunk, error) {
stream.go#L13: func (d *Downloader) stream(ctx context.Context, r *reader, s sink, w io.Writer) (tg.StorageFileTypeClass, error) {
 |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |